data driven testing using sql